import java.util.Scanner;
public class demo5 {
        public static void C(){
            Scanner sc=new Scanner(System.in);
            System.out.println("请输入数字x");
            int x= sc.nextInt();
            System.out.println("请输入数字y");
            int y= sc.nextInt();
            System.out.println("请输入数字z");
            int z= sc.nextInt();
            int s=x*x*x+y*y*y+z*z*z;
            System.out.println("结果为"+s);
        }

        public static void main(String[] args) {
            C();
        }
    }
